package com.yeebo.conf;

import com.yeebo.constants.Constants;
import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class RabbitSenderConf {

    @Bean
    public Queue testQueue() {
        return new Queue(Constants.TEST_QUEUE_KEY);
    }

}
